Package com.cisco.pt.ipc.sim.impl
Class MACEntryImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.MACEntryImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPort()voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetIsDynamic(boolean isDynamic) voidsetMacAddress(MACAddress macAddress) voidMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
macAddress
-
port
-
isDynamic
protected boolean isDynamic
-
-
Constructor Details
-
MACEntryImpl
public MACEntryImpl()
-
-
Method Details
-
getMacAddress
- Specified by:
getMacAddressin interfaceMACEntry- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress
- Specified by:
setMacAddressin interfaceMACEntry- Parameters:
macAddress- Takes in a parameter of macAddress
-
getPort
-
setPort
-
getIsDynamic
public boolean getIsDynamic()- Specified by:
getIsDynamicin interfaceMACEntry- Returns:
- boolean Returns a boolean
-
setIsDynamic
public void setIsDynamic(boolean isDynamic) - Specified by:
setIsDynamicin interfaceMACEntry- Parameters:
isDynamic- Takes in a parameter of isDynamic
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-